import React, { Component } from 'react'
import axios from 'axios'
import NewProTabBar from './newProTabBar/NewProTabBar'
import "./NewProduct.scss"

// 引入图片
import newProduct from "../../assets/images/newProduct.webp"


export default class NewProduct extends Component {
    

    componentDidMount(){
        axios.get('jsonp/multiget/3?pids=148452&appPlat=m&callback=jsonp148452&_=1600682123768').then(res=>{

            // let p=jsonToJson(res)
            // console.log(p)
            console.log(res)
        })
    }
    render() {
        return (
            <div className="mall-newProduct">
                {/* banner图开始 */}
                <div className="bandder-flex-box">
                    <div className="banner">
                        <img src={newProduct} alt="" className="bannerImg"/>
                    </div>
                </div>
                {/* banner图结束 */}

                {/* 导航开始 */}
               <div className="newProduct-tabBar">
                   <NewProTabBar/>
               </div>
                {/* 导航结束 */}
            </div>
        )
    }
}
